import { WeaSelect } from 'ecCom';
import { HtmlType } from '../../../../constants/excel';
export default class FieldHtmlType extends React.Component {
    render() {
        if (this.props.isField) {
            return (
                <div className="ant-row">
                    <label>显示方式</label>
                    <WeaSelect
                        options={[{
                            key: HtmlType.Input,
                            showname: '文本框'
                        }, {
                            key: HtmlType.Browser,
                            showname: '浏览按钮'
                        }, {
                            key: HtmlType.Check,
                            showname: 'Check框'
                        }, {
                            key: HtmlType.Select,
                            showname: '选择框'
                        }]}
                        {...this.props}
                    />
                </div>

            )
        }
        return null;
    }
}